import Spinner from './Spinner.jsx';

import SpinnerAudio from './SpinnerAudio.jsx';
import SpinnerBall from './SpinnerBall.jsx';
import SpinnerBars from './SpinnerBars.jsx';
import SpinnerBox from './SpinnerBox.jsx';
import SpinnerClock from './SpinnerClock.jsx';
import SpinnerComment from './SpinnerComment.jsx';
import SpinnerCube from './SpinnerCube.jsx';
import SpinnerDots from './SpinnerDots.jsx';
import SpinnerFacebook from './SpinnerFacebook.jsx';
import SpinnerGears from './SpinnerGears.jsx';
import SpinnerGrid from './SpinnerGrid.jsx';
import SpinnerHearts from './SpinnerHearts.jsx';
import SpinnerHourglass from './SpinnerHourglass.jsx';
import SpinnerInfinity from './SpinnerInfinity.jsx';
import SpinnerIos from './SpinnerIos.jsx';
import SpinnerOrbit from './SpinnerOrbit.jsx';
import SpinnerOval from './SpinnerOval.jsx';
import SpinnerPie from './SpinnerPie.jsx';
import SpinnerPuff from './SpinnerPuff.jsx';
import SpinnerRadio from './SpinnerRadio.jsx';
import SpinnerRings from './SpinnerRings.jsx';
import SpinnerTail from './SpinnerTail.jsx';

export {
  Spinner,
  SpinnerAudio,
  SpinnerBall,
  SpinnerBars,
  SpinnerBox,
  SpinnerClock,
  SpinnerComment,
  SpinnerCube,
  SpinnerDots,
  SpinnerFacebook,
  SpinnerGears,
  SpinnerGrid,
  SpinnerHearts,
  SpinnerHourglass,
  SpinnerInfinity,
  SpinnerIos,
  SpinnerOrbit,
  SpinnerOval,
  SpinnerPie,
  SpinnerPuff,
  SpinnerRadio,
  SpinnerRings,
  SpinnerTail,
};

const components = [
  Spinner,
  SpinnerAudio,
  SpinnerBall,
  SpinnerBars,
  SpinnerBox,
  SpinnerClock,
  SpinnerComment,
  SpinnerCube,
  SpinnerDots,
  SpinnerFacebook,
  SpinnerGears,
  SpinnerGrid,
  SpinnerHearts,
  SpinnerHourglass,
  SpinnerInfinity,
  SpinnerIos,
  SpinnerOrbit,
  SpinnerOval,
  SpinnerPie,
  SpinnerPuff,
  SpinnerRadio,
  SpinnerRings,
  SpinnerTail,
];

export default {
  install(app, options, ssrContext) {
    components.forEach(v => {
      app.component(v.name, v);
    });
  },
};
